Add Simple file API.

Simple File API
Merge pull request #388 from yuyiguo/DBSRESTv2

Add Simple file API.