Move function deleteUnusedResults() into a separate file