deal with spaces in filenames