Final Code.
- Increased buffer size to 512bytes
- Limited final String size to 400bytes
Final