Fix for #106
Merge pull request #108 from AlexKolpa/106_Delete_file_bug

:+1: