file change bugs and file type limiting