The setPosition method changes or sets the current position. You can change the position relative to the beginning of the file, relative to the end of the file, or relative to the current position.
This is called the reference, and is an optional parameter. The default reference is the beginning of the file. The syntax for the setPosition method is
fileObj.setPosition(position [,reference])
fileObj.setPosition(position [,reference])
