During the form startup it obviously loads the file record, and at some later point moves the file record into the session queue. Should you happen to do stuff before it moves the file record to the session queue, then you need to prime the file field as well.
I know it's not completely elegant, but that's the reason for it.
cheers
Bruce