Added file input and ability to modify inputted arrays and objects