Open File in a New Window

I have a requirement where I want to open a file (like a pdf) in a new popup window for preview.
Could someone guide me how to go about doing it?

Also, could you tell me how to open a new popup window & pass some parameter in the URL. That also might be helpful.