function create_project_dir_path_just_in_time(fileNameInfo,additionalDir)
if(~isfolder(fileNameInfo.targetDirName))
    % we try to create project dir just_in_time
    [dirName, success, errorCreateMsg] = sfprivate('create_directory_path',fileNameInfo.projectDirArray{:});
    if(~success)
        construct_dir_path_error(dirName,errorCreateMsg);
    end
end
if(nargin>1 && ~isfolder(fullfile(fileNameInfo.targetDirName,additionalDir)))
    % we try to create project dir just_in_time
    [dirName, success, errorCreateMsg] = sfprivate('create_directory_path',fileNameInfo.targetDirName,additionalDir);
    if(~success)
        construct_dir_path_error(dirName,errorCreateMsg);
    end
end
    
