utility to build image database from list of image files
added usage instructions and fix for same file each time