static void DeleteFile(string file) { string projectFolder = RemoveSuffix("Assets", Application.dataPath); DeleteFile(projectFolder, file); }