pass header list to gen2.py by a text file (avoid command line length limit on windows)