function rban_wrapper( filelist )

%%%%%%%%%%%%
% read in I/O
% list
fid = fopen(filelist);
L1  = textscan(fid,'%s%s','delimiter',',');
fclose(fid);

%%%%%%%%%%%%
% read in reference 
% CDF
refCDF = wavread( 'refCDF01.wav' );

%%%%%%%%%%%%
% successively process
% the files
inList = L1{1}; outList = L1{2}; 

if ~isempty(inList) == 1 %check if the file list is empty
	for k = 1:length(inList)
		inFile  = strtrim(inList{k});
		outFile = strtrim(outList{k});
		
		file_dir = fileparts(outFile);
		if exist(file_dir,'dir') ~= 7
			mkdir(file_dir);
		end
		
		CDFmatch_filter( outFile, inFile, refCDF );
	end
end
