Fix some file browsing issues