Read image file proyect with abstract factory design pattern