Errors corrected in FilesManager detected with new unit test of updateFolderSize.
Databases and preferences file created if not exist. Design-pattern singleton used.