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: remove_disdaq_vols.m
    path of file: ./repos/CanlabCore/CanlabCore/Filename_tools
    
    the code of the file until where you have to start completion: function new_files = remove_disdaq_vols(img_files, num_vols_per_run, num_disdaq_vols, varargin)
% :Usage:
% ::

    
function new_files = remove_disdaq_vols(img_files, num_vols_per_run, num_disdaq_vols, varargin)
% :Usage:
% ::
%
%     new_files = remove_disdaq_vols(img_files, num_vols_per_run, num_disdaq_vols, ['overwrite', 0|1], ['FSLOUTPUTTYPE', fsl_output_type], ['strict', 0|1])
%
% :Inputs:
%
%   **img_files:**
%        cellstr of files to remove disdaqs from - each cell represents a run
%
%   **num_vols_per_run:**
%        vector of volume counts per run, *not* including disdaq vols
%
%   **num_disdaq_vols:**
%        constant describing how many data points to remove from the beginning of each run
%
%   **'overwrite':**
%        if set, will overwriting images in place - defaults to 0
%
%   **'FSLOUTPUTTYPE':**
%        outputfile type - defaults to 'NIFTI'
%
%   **'strict':**
%        if set, will error out unless data given to it is
%        exactly proper length - defaults to 1 - turn off ONLY with good reason
%
% :Output:
%
%   **new_files:**
%        input files, but with a 'd' prepend