Handle file names with different cases.