should be abspath(path) not abspath(name)