fixing problem with file names with spaces