added hash check to getFile in instances where sha1-hash is set in meta-header