Need help!

I rooted my phone and deleted some system files. Now a ton of apps arent working, including the stock browser, facebook. They all close unexpectedly upon launch. I've tried factory resetting but that doesnt seems to restore the files back into the system. Does anyone know where i can download the stock rom and reflash my phone completely?