Would be nicer and safer to use os.path.join()