node parser and file cleanup