clean offline file