Updated input file getting method
Updated input file getting method (fixed)