@patel_saif There are lots of post here doing this process with UBAQs or functions. The nice thing about the approach is you can test the ubaq and then schedule it or call it from rest.
I recently did two projects that read a directory and consumed the files based on extension, wrote data to Epicor or dropped anther file and then moved the processed files to another directory in post processing of getlist using standard C# utilities.
You don’t need anything real in the baq. You can just query the company table for a single company to kickoff the process.