Attempted to add file input, and moved the I/O code to the interpreter file.