Rethought the file storage mechanism, now every file is assigned a uuid and is stored in a HashMap according to its uuid.
Some application changes have been made as well, including some default file opening on windows.