Ensure the file_open returns it's yield result if called with a block, the open file otherwise.