Code Sample : How to programmatically get an SPFile in SharePoint

This example illustrates how to develop a helper method to return an SPFile based on a Web, folder and filename.