added md5file and getStat helpers