define basic file system operations.