This function removes all containing files of a component and then removes
the component itself. NOTE: it does not request confirmation, so please
handle with care. If you do not have backups of the files, it is easy to
lose everything (in the component).