action to turn on/off tracking currently open file