Revert "Fix for the cache dependencies (FileMonitors) bug"

This reverts commit 58eda503b3a292eeb71233c3adfb1f0acfc73f5e.