Add file validation

Function looks through entire file to check that all records have all nessasary data.