Change error message when processing a file fails