Using open-uri in reader for file opening