fixed my sendfile

- added header file
- added buffer