remove useless files and begin search field