API: Add methods for files

  • get a single file
  • update file