Adds syncTree to correct file