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: Murat_testData.m
    path of file: ./repos/MuRAT/bin
    
    the code of the file until where you have to start completion: function [muratHeader,flag] =...
    Murat_testData(folderPath,originTime,PTime,STime)
% TEST all seismograms in a folder for the input parameters and
% CREATES a file storing the para
    
function [listWithFolder,listNoFolder]...
                            =   createsList(directory)
% CREATES a list of visible files in a folder, outputs both with and
% without folder

list                        =   dir(directory);
list                        =   list(~startsWith({list.name}, '.'));

listWithFolder              =	fullfile({list.folder},{list.name})';
listNoFolder                =   {list.name}';
end