Add implementation of basic file system routines