Google DeepMind interview question

Implement a basic file system interface in Python