cleaned up br::File API
implemented urlGallery and jsonGallery