Depends on usage, if user is informed that the input file is wrong, then it's OK, otherwise not.