title: How to extract names of compound present in sub files?
body: <p>I have a list of 15000 compound names (file name: uniq-compounds) which contains names of 15000 folder. the folder have sub files i.e. <code>out.pdbqt</code> which contains names of compound in 3rd Row. (Name = 1-tert-butyl-5-oxo-N-[2-(3-pyridinyl)ethyl]-3-pyrrolidinecarboxamide). I want to extract all those 15000 names by providing uniq-compound file (it contain folder names e.g <code>ligand_*</code>) out of 50,000 folder.</p>
  
  <h2>directory and subfiles</h2>
  
  <pre><code>sidra---50,000folder (ligand_00001 - ligand50,000)--each contains subfiles (out.pdbqt)--that conatins names.(mention below)
  another file (uniq-compound) contains 15000 folder names (that compound names i want).
  </code></pre>
  
  <h2>out.pdbqt</h2>
  
  <pre><code>MODEL 1
  REMARK VINA RESULT:      -6.0      0.000      0.000
  REMARK  Name = 1-tert-butyl-5-oxo-N-[2-(3-pyridinyl)ethyl]-3-pyrrolidinecarboxamide
  REMARK  8 active torsions:
  REMARK  status: ('A' for Active; 'I' for Inactive)
  REMARK    1  A    between atoms: N_1  and  C_7
  </code></pre>