Simple C program to get a collection
Flattening and key file