Program should control file and directory limit if opening. Currently ignore that file or directory. This bug effects homeworks 4,5,6.