use os.sep for os path separator