- fixed file output to not overwrite previous results
- fixed problem removing un-needed keys