Add reset_cache on file deletion

Change-Id: I03d316c9bdc586e45402ff877bb52fa211df8cab