Iterate over all png files.
Merge write_xs.py