Implemented on demand file reader triggered for images to generate a preview.