making filesToKeys private