code: public void setFilePath(String filePath) {
          this.filePath = filePath;
          if (!this.filePath.endsWith(File.separator)) {
              this.filePath += File.separator;
          }
      }
docs: Set the file path to store the screenshot. Include the seperator at the
  end of the path. Use an emptry string to use the application folder. Use
  NULL to use the system default storage folder.
  
  @param file File path to use to store the screenshot. Include the
  seperator at the end of the path.