GUI comments added, automatic changing of the path if saving the file
Database, make writeFIle method public to use it in the Gui