first implementation of fs_file