def add_uid_dictionary(file)
      File.open(file, :encoding => 'utf-8').each do |record|
        fields = record.split("\t")
        add_uid(UID.new(fields[0], fields[1], fields[2].rstrip, fields[3].rstrip))
      end
    end
def add_uid_dictionary(file)
      File.open(file, :encoding => 'utf-8').each do |record|
        fields = record.split("\t")
        add_uid(UID.new(fields[0], fields[1], fields[2].rstrip, fields[3].rstrip))
      end
    end
Adds a custom dictionary file to the ruby-dicom uid dictionary.

 @note The format of the dictionary is a tab-separated text file with 4 columns:
   * Value, Name, Type & Retired status
   * For samples check out ruby-dicom's uid dictionaries in the git repository
 @param [String] file the path to the dictionary file to be added