def find_external_files(self, run_input_dir):
beam_file, geo_file, mat_file, _ = self.input_files<EOL>external_beam_files = self._parse_beam_file(beam_file, run_input_dir)<EOL>if external_beam_files:<EOL><INDENT>logger.info("<STR_LIT>".format(external_beam_files))<EOL><DEDENT>else:<EOL><INDENT>logger.debug("<STR_LIT>")<EOL><DEDENT>icru_numbers = self._parse_mat_file(mat_file)<EOL>if icru_numbers:<EOL><INDENT>logger.info("<STR_LIT>".format(icru_numbers))<EOL><DEDENT>else:<EOL><INDENT>logger.debug("<STR_LIT>")<EOL><DEDENT>icru_files = []<EOL>if icru_numbers:<EOL><INDENT>icru_files = self._decrypt_icru_files(icru_numbers)<EOL><DEDENT>geo_files = self._parse_geo_file(geo_file, run_input_dir)<EOL>if geo_files:<EOL><INDENT>logger.info("<STR_LIT>".format(geo_files))<EOL><DEDENT>else:<EOL><INDENT>logger.debug("<STR_LIT>")<EOL><DEDENT>external_files = external_beam_files + icru_files + geo_files<EOL>return [os.path.join(self.input_path, e) for e in external_files]<EOL>
Scan all SHIELDHIT12A config files to find external files used and return them.
Also change paths in config files to match convention that all resources are
symlinked in job_xxxx/symlink