You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: icatb_eval_script.m
    path of file: ./repos/bspm/thirdparty/MIALAB/GroupICATv4.0a/icatb/icatb_helper_functions
    
    the code of the file until where you have to start completion: function inputData = icatb_eval_script(file_name)
%% Evaluate script and store the variables in a data structure
%
% Inputs:
% file_name - File name

    
function inputData = icatb_eval_script(file_name)
%% Evaluate script and store the variables in a data structure
%
% Inputs:
% file_name - File name
%
% Outputs:
% inputData - Input data structure
%

oldDir = pwd;

%% Do file parts
[pathstr, fName, extn] = fileparts(file_name);
if isempty(pathstr)
    pathstr = pwd;
end