take renamed file into account