Same as above, there should be proper os.File in tf to work on.