Added methods to add input and outputs by editing a text file