hashlib package encapsulation for file verification