Fix file yielding