Correct the validation of the file number