private static @Nullable String calculatePath() {
        final Transferable contents = CopyPasteManager.getInstance().getContents();
        if (contents != null) {
          final List<File> fileList = FileCopyPasteUtil.getFileList(contents);
          if (fileList != null) {
            if (!fileList.isEmpty()) {
              return fileList.get(0).getAbsolutePath();
            }
          }
        }
        return null;
      }
private static @Nullable String calculatePath()