Frame by frame reading intermediate version, added

Introducing frame by frame reading in contrast to whole file reading.
Intermediate version.