parse pgm raw file