Fixed issue for large files.