Ensure filename is the correct case