Question: how to transfer files from windows computer to mac?
Answer: On your PC, download and install the appropriate Windows Migration Assistant, based on the version of macOS on your Mac: ... 
Quit any open Windows apps.
Open Windows Migration Assistant, then click Continue.
Start up your Mac. ... 
On your Mac, follow the onscreen prompts until you get to the migration pane of the assistant.