Solves incorrect call for FileManager::saveFile