now reads from parameter text file