add creation of file name, add comments, begin work on write to file function