fixed small bug and set a return value as void in a itemClearFileNames function