remove trailing spaces from initial data file
drop spaces from image names in initial data