implemented join for first node and later node joins
changed file data structures -- local to class now