So in the main file I have this as the code:
data_filename = input(\'Data file: \').strip() data_file = open(data_filename, \'r\') data = tf.process_data(data