Works with large files.