move getRandomFile from ResourceBundleManager to RBManager