Amazon interview question

Writing a file system