Added checksum check after fetch

Also check a file checkum after we have fetched the file. That is if the checksum is specified