add fullpath() to API