get a output folder path and then make files under folders under input

e.g.
$ python make_idf.py demo