plotting files with png outputs