fixes small error in open file, so now we can send messages
weird encoding error