fixes #22 file deletion