Trim image names and fix file name typo.