Generate epidemic file