@Override
  public long getTimeStamp() {
    BasicFileAttributes attrs = getAttributes(true);
    return attrs != null ? attrs.lastModifiedTime().toMillis() : -1;
  }
@Override
  public long getTimeStamp()