refactoring delete elastisearch unused files