Added utility method for recursive replacement of text in files

Change-Id: Idabaa0d87456e49604e69ae4bf974eb1ff616113
changed echo to tree

Change-Id: I7f15f865095247a4c187a3efd38c859537720667