adds support for files with spaces