Add yield for large files

Fixed typos and errors