<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def read_input(self, input_cls, filename, **kwargs):
 """ Read in input and do some minimal preformatting input_cls - the class to use to read the input filename - input filename """

        input_inst = input_cls()
        input_inst.read_input(filename)
        return input_inst.get_data()