How to use my passcode if the screen is black? (iPhone)?

I broke my iPhones screen, and it is all black. The phone is still alive but the screen doesn't work. I want to transfer all of my files to my laptop but I can't because I can't input my password (this is also a new laptop, I've never synced my phone with and no longer have the old one)

Can't be done, will only work if you once synced with that computer, as you haven't done that then there's no way of doing it until your screen is fixed