minor fix to error message fomr file validator