How to verify and publish contract with multiple files?

Hi there,
I’m a beginner and I’m learning to deploy a contract on bscscan and then verify and publish it. I downloaded Pancakeswap Factory and practiced on it. There’re 11 .sol files in total. This is what I did:

  1. Download 11 files from Pancakeswap Factory
  2. Copy all of them to bscide to compile
  3. Deploy the main file (PancakeFactory.sol) to get the address of contract

Then I don’t know how to do with these files to be verified and published on bscscan. Could you guide me in more detail 'cause I’m a beginner here.

Thank you so much for your help