Implemented the sending of large files, but still needs improvement.