[c] hash to single file