parses multiple files and uses subcircuit refdes