void remove(list entry)
{
    int equal;
    string file;

    file = entry[3];

    if (!exists(file))
        return;

    equal = md5sum(file) == entry[2];

    if (equal)
        run("rm " + file);
    else
        printf("not removing modified file ", file, "\n");
}
