Now works with input file names with spaces; closes #5