- use context manager for dealing with the checksum file - use loop that can tolerate zero, one, or more items return rather than the previous expression which would break if anything other than exactly one item was returned