def remove_links_from_file(file)
      urls = File.foreach(file).map { |url| url.chomp unless url.empty? }
      remove_links(urls)
    end
def remove_links_from_file(file)
      urls = File.foreach(file).map { |url| url.chomp unless url.empty? }
      remove_links(urls)
    end
Deletes links based on URLs that are provided in a file. Each URL has to
 be in one line