Safer way of deleting files
Also delete dependencies upon uninstall