Changes function's that opens netlist name
Changes  where netlistFile is closed