Helper function to remove /pub, /files from string.

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