Checking that the file was read without problems