current page selection in nav
whitelist file types for uploader