y isnt a file object returned here?