There are two general ways to do this.
One is that the file being written to is actually a named pipe that the program is reading from, and it receives the "start working" string as it would from any other sort of input stream (such as a network socket, or standard input).
The other (specific to Linux) is that the file being written to is a regular file, and the program is monitoring the file for changes using inotify (or dnotify on older systems). When it receives an inotify event indicating that the file has changed, it will read its contents and obtain the "start working" string.
Note that both of these methods require that the program in question is already running in the background (and just not doing anything). There is really no way to launch a program in this manner, unless there is for example a background process responsible for launching programs that is doing one of the above two things.