I have a video camera which records via FireWire, and the data gets saved as a single PGM file...unfortunately MatLab (or Photoshop or paintshop pro) can't read all the frames; in fact photoshop reads the first frame only. How do I solve this problem?