handle files with spaces in the name