generate answer files