added exception to create an empty output file is input was empty for sumaclust