Removed extraneous code and corrected parameter in PageExtensions

Removed extraneous code and corrected parameter passed to GetFileByServerRelativeUrl