change to parsing a file with macs in node_selector