Writing to file now works after the queue is empty
Broadcast works when file is truncated
Merge pull request #59 from wpreul/master

Broadcast script works correctly