Create Hats Flatfile