clean read_netlist to be able to read a usual file without stat info