Validate the source file.