Use file lock to ensure no more than 1 instance running
http://stackoverflow.com/questions/2769061/how-to-erase-the-file-contents-of-text-file-in-python-and-c http://stackoverflow.com/questions/220525/ensuring-a-single-instance-of-an-application-in-linux