function prcProfile2Seabass(filepath)
% prcProfile2Seabass - Converts all *.BIN files in a directory to seabass format
%
% Use as: prcProfile2Seabass(dataDirectory)

f = getfname(fullfile(filepath, '*.bin'));
if isempty(f)
   warning(['NO LWN files found in ' filepath])
   return
end

for i = 1:size(f, 1)
   try
      filename = fullfile(filepath, deblank(f(i, :)));
      simbiosProfileFormat(filename);
      fprintf(1, 'Processed %s\n', filename)
   catch
      fprintf(1, 'Unable to process %s\n', filename)
   end

end

