Add input method to read initial condition from file