cleaned up for directory of png files