Began implementation of writing to file into "output" folder.