Open and read idlist file, populate tidlist
Writing Template object