Fix issue with lowercase filenames