Added file object
File handling functions
Fixed bug with two messages in queue
Fixed some bugs and added new features

- Properly prepend senders name to the message
- Fixed memory leaks
- Add some file related callings
Add file handling