* changed getPidFromFile() to be static