use os.path.join to generate new path instead of using string concatenation