Cleaning up filenames for Shellsort