modified filesys.c