disable the first offset during the open file event for SQL queries. Offset inserted later with the offset_thread
add-on to previous commit
offset cannot be bigger than filesize when reading