Update file explorer to use the history API