add file selector and sorted dropdown