hclose
void hclose(hdrfmt *hshhdr);
hclose(ptrMyFile);
Flushes data to disk
Unlocks database
Frees up memory