Adds unique file name generation for dummy files. Removes dumm files on close.