What happens if path ends in /? Should we consider os.path.join here?