File management: Units should be saved to list before writing to file
Feedback regarding file handling. Should in the write-method consider saving all the unique units to a list before writing the whole list to a file. As for now, a stream is created for every time a unit is written to file, which is an unnecessary use of resources.
Edited by Runar Halvorsen Indahl