string md5sum(string file)
{
    return substr(strtok(backtick("md5sum " + file)[0], " \t")[0], 0, 5);
}

