Add recent files API and frontend