code: @Deprecated
      public RepositoryFile getFile(String filePath, Integer projectId, String ref) throws GitLabApiException {
  
          if (isApiVersion(ApiVersion.V3)) {
              return (getFileV3(filePath, projectId, ref));
          } else {
              return (getFile(projectId, filePath, ref, true));
          }
      }
docs: Get file from repository. Allows you to receive information about file in repository like name, size, content.
  Note that file content is Base64 encoded.
  
  <pre><code>GitLab Endpoint: GET /projects/:id/repository/files</code></pre>
  
  @param filePath (required) - Full path to the file. Ex. lib/class.rb
  @param projectId (required) - the project ID
  @param ref (required) - The name of branch, tag or commit
  @return a RepositoryFile instance with the file info and file content
  @throws GitLabApiException if any exception occurs
  @deprecated  Will be removed in version 5.0, replaced by {@link #getFile(Object, String, String)}