I need to open a file, read a long line, produce a hash (MD5 is fine) and write that hash to a file. The file has millions of lines and a hashing function is something ideally