Fixed issue with some filenames not coming through.