better handling of file name in exabayes