fixed: checks number of selected files
minor changes in hinting output file name