testing message digest for files