Updating file browsing in line with new upload functionality

This is tied in with the recent upload changes. Prepares the way to support multiple namespaces within file browsing.