Set exit and list menu for search files.