Fixed the read of the file in the check rdf