Extracts function to read elements from netlist