Add check for large files manipulation