delete task

Now delete task can receive an string or array of paths.