How can I restore my device with simply ipsw file and iTunes?
Option-click the Restore button in iTunes and a standard file-selection dialog comes up allowing you to find your .ipsw file.
Shift-click the Restore button in iTunes for windows user
If it's on a MAC OS X push option on your keyboard and click on the Restore button on itunes
As of macOS Catalina, this is done directly in Finder. When your phone is connected to the computer, it shows up in the Finder sidebar under the "Locations" section. (If you don't see it, make sure it is checked under Finder settings, which you can get to with command-comma.)
Under this tab, option-click the "Restore" button and choose the .ipsw
file.