//ReadInfo _readInfo;

        /// <summary>
        /// Initializes a new instance of the <see cref="Hdf5AcquisitionFileReader"/> class.
        /// </summary>
        /// <param name="aFilename">A filename.</param>
        /// <param name="aMode">A mode enumeration that specifies how the file system should open a file.</param>
        public Hdf5AcquisitionFileReader(string aFilename, string[] labels = null, string groupName = "EEG")
        {
            fileId     = Hdf5.OpenFile(aFilename, readOnly: true);
            _header    = Hdf5.ReadObject <Hdf5AcquisitionFile>(fileId, groupName);
            _groupName = groupName;

            _usedChannels = new Dictionary <string, short>();
            for (short i = 0; i < _header.Recording.NrOfChannels; i++)
            {
                _usedChannels.Add(_header.Channels[i].Label, i);
            }
            if (labels == null)
            {
                _labels = _header.Channels.Select(c => c.Label).ToList();
            }
            else
            {
                _labels = labels;
            }
            _readChannelCnt = _labels.Count();
            _signals        = new List <short[]>(_readChannelCnt);
        }