Move filehash/differencecheck functions to utils.py + update