code: def removeRootFromName(string):
  	
  	global garbageRoots
  	for root in garbageRoots:
  		if root in string:
  			string = string[string.find(root) + len(root):]
  	return string
docs: Helper function to remove /pub, /files from string.