Technically, you're calculating the hash of a file, not a checksum.