generic file name
selection sort