Adding quotes around filenames when calling text editor