What is the difference between a File and an AssistantFile?

I’d like to have an assistant create a file which I can then retrieve. However, I don’t see an endpoint for retrieving the contents of an assistant file. But there is one for retrieving a file.

Questions:

  1. What is the difference between the two?
  2. How do I retrieve a file that I’ve instructed an assistant to write to if it creates them as assistant files and there is no api for retrieving them?