dir_contents() in driver.rb changed to list just names of entities instead of whole path