I wanted change a flat file as a keyed file. What are all the ways there?