Changed variable name fopen to f in create_md5 function