copied into flatfile