add md5 and sanitiizeFileNames to stringFormat class, should probably move them somewhere better