generate a LCG_Configuration hscript file from a txt file