renamed 'resolve' to 'relpath', and 'full_path' to 'fullpath'