Make it possible to open files with spaces in filenames

Am I the first one to notice that you can not open files with spaces in their name? Anyway, I fixed it.