Now using optparse for insertfile, added option to create tag from insertfile