RR: correctly show file error for wrong file