Finished routing flatfile. Closes #48.