(RMenu/Filebrowser) Refactor filebrowser