Updated with testdisk.c operations