Add files with JSON API methods