Handle filenames with spaces