Handle filenames containing spaces