Test passes. DeleteFile now only removes and disposes files of given reference.