modified the fs/filesystem.c