handles incorrect file case