script to normalize file names