Add file API