added capability to remove files