Adjusted FileEditor to prevent hacking