Validating if file exists before remove cache.

- When the file did not exists an exception was generated.