renamed iter to list_iter and iter_end to list_iter_end. Changed fileComponents to nodeList