now the remote file is first removed and the cache is cleared