fixed issue with spaces in filename