You can now write an image from raw data, with filenames. We only need the motor now...