clear index and app.'s files