use os.path.join
further attempt to reduce connections, still hacky