Added calculation of MD5 checksum.