Move the file cursor to beginning

Without moving the beginning the report generated would be just empty
Release version 3.0.2.1