6 comparing by enum type now, need to clean up code, add file pathchoice and comment
7 added file creation instead, needs tweaking, clean up code and comment