src field now uses cwd if specified; references to (non-inline) files can be stripped off a leading path