fixes #9, issue with removal of files inside folders