Fixed discrepancies and changed check to checksum for files