pub fn resolve_relative_path_with_current_dir(path_str: &str) -> Result<String>
Resolves the relative path to an absolute path.