(RMenu) Cleanups in select_file