code: def from_file(path):
          
          with open(path) as f:
              content = f.readlines()
          content = [x.strip() for x in content]
          urls = list(filter(None, content))
  
          return NewsPlease.from_urls(urls)
docs: Crawls articles from the urls and extracts relevant information.
          :param path: path to file containing urls (each line contains one URL)
          :return: A dict containing given URLs as keys, and extracted information as corresponding values.