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: process_import_data_event.m
    path of file: ./repos/brainstorm3/toolbox/process/functions
    
    the code of the file until where you have to start completion: function varargout = process_import_data_event( varargin )
% PROCESS_IMPORT_DATA_EVENT: Import continuous files in the database, based on event markers.

% @=============================================================================
% This function is part of the Brainstorm software:
% https://neuroim
    
function OutputFiles = Run(sProcess, sInput) %#ok<DEFNU>
    OutputFiles = {};
    
    % ===== GET FILES TO IMPORT =====
    % Get filename to import
    isDirectImport = isfield(sProcess.options, 'datafile') && ~isempty(sProcess.options.datafile.Value) && ~isempty(sProcess.options.datafile.Value{1});
    if isDirectImport
        FileNames  = sProcess.options.datafile.Value{1};
        FileFormat = sProcess.options.datafile.Value{2};
    elseif ~isempty(sInput)
        % Error if nothing in input
        if strcmpi(sInput(1).FileType, 'import')
            bst_report('Error', sProcess, sInput, 'No file selected.');
            return
        end