changed the image file handling to load them from disk and not store all simultaneous in RAM