fixed typo, removed old code file reads
optimized node arg getting