Default want to develop an app that can use wifi hotspot to share files

I want to make an app that can share files using wifi hotspot capability of android phones. If there is any way please tell me how to accomplish that task or otherwise tell me why it is no possible.