A simple C module to merge files containing sorted records