Changed filemanager so that you need to define if file is writable

This makes it so that when opening a file it will clear the content if the file existed previously
Merge branch 'develop' of https://github.com/Team-Innis/UtH-Engine into develop