def _read_section(path, section):
  """Read lines of a specified section in a specified file.

  Parameters:

  path: str
    File path to Lammps' data file (or molecule file).

  section: str
    Header of a section to be read.

  """
  lines = (line.lstrip().rstrip() for line in open(path))

  blank_counter = 0
  in_section = False
  splitted_lines = []

  for line in lines:
    if in_section:
      if line == '':
        blank_counter += 1
        if 1 < blank_counter:
          break
      else:
        splitted_lines.append(line.split())
    else:
      if line.startswith(section):
        in_section = True

  return splitted_lines