flat file method and data