code: public boolean markedForStop() throws IOException {
          if (stopFile.exists()) {
              try {
                  stopFile.delete();
              } catch (Exception e) {
              }
              return true;
          }
          return false;
      }
docs: Is a stop file there?