loading file and real input for methods