Added removeCallback passing

Added removeCallback passing.
Usefull for daemons that need to create some directory and remove it when the work is done.
It just protects from double call. 
But not from double delete if user deletes file by themselves. 
Also the last variant was not covered earlier. I think it should be a separate change.