TextRecruit interview question

How would you design a file system in Java?