First version of the FileSystem class (untested).