implemented file system interface.