added functionality for CL 4 for input file