<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def send_file_message(self, filename):
 """Send message inside the given file."""

        data = self._readFile(filename)
        self.print_debug_message(data)
        self.socket.send(data)