$getfilesize()
Returns the size in bytes of the open file associated with the object. If an error occurs, the function returns -1.