when deleting cached file, do it recursively

Deleting direct children is not enough. If the changed file is required by its children, should also be cleared from cache and reloaded.