Question: how to transfer files from mac to mac with broken screen?
Answer: If you have a TIme Machine backup, just connect that disk directly to your new Mac the first time you boot it up into setup assistant and after a few screens it will prompt you to Migrate. Choose migrate from Time Machine Backup. Also you could start the older machine in Target Disk Mode.