(user_file_menu_cmd): move to src/usermenu.h and make inline.