Use open rather than file