fixed trailing whitespace in filename