You can use “refreshFile()” to enforce the update of “file” attribute.