not a good idea to leak file descriptors
try to ignore bad images
update README