def METHOD_NAME(path=None):
	trashcan = getTrashcan(path)
	if isdir(trashcan):
		for root, dirs, files in walk(trashcan, topdown=False):
			for file in files:
				path = join(root, file)
				try:
					eBackgroundFileEraser.getInstance().erase(path)
				except Exception as err:
					print("[Trashcan] Error: Failed to erase '%s'!  (%s)" % (path, err))
			for dir in dirs:  # Remove empty directories if possible.
				path = join(root, dir)
				try:
					rmdir(path)
				except OSError as err:
					if err.errno != ENOTEMPTY:
						print("[Trashcan] Error %d: Unable to remove directory '%s'!  (%s)" % (err.errno, path, err.strerror))
	else:
		print("[Trashcan] Trashcan '%s' is not a directory!" % trashcan)