Reset caches on file reload.

- #52