Actually, I think you can probably use this method to get the file u need easier 

http://msdn.microsoft.com/en-us/library/ms143327.aspx