Test read flat file