fix io.File ref