Flatfile attempt fix