Added functionallity to force delete files/dir and to return basename

Added
* force remove
* get basename