Removed old image file reading code.