Make error messages in project/read refer to correct file