Replaced string concatenation with os.path.join()