Fixed bug with whitespace in file name