Added delete-file and delete-directory
Improve caching and response to deleted files.