TextRecruit Interview Question

How would you design a file system in Java?