update file API specs to use v2 endpoints