Create file using V2 API

Welcome to the community, @adhossain! This post discussed previously should help you solve your issue: