Now reads file, and iterates across pixels