Added basic POST addFile API for testing upload interface.