Added automatic deletion of related files

This fixes #20 by removing all files with the same name (except for the extension) as the file which is getting deleted.