add logic to confirm when the folder dosen't contain png files