some formatting
Added toHexString
Added digest methods to file util (closes #180)