code: @SuppressWarnings("ResultOfMethodCallIgnored, unused")
      public static File createTempFile(Context context) {
          String timeStamp = new SimpleDateFormat("yyyyMMdd_HHmmssSSS", Locale.US).format(new Date());
          String tempFileName = PREFIX + timeStamp + "_";
          File cacheDir = context.getCacheDir();
          if (!cacheDir.exists()) {
              cacheDir.mkdir();
          }
          return new File(cacheDir, tempFileName + EXTENSION);
      }
docs: Create temp file file.
  
  @param context the context
  @return the file