I did not need any declaration of the file variable in ad_page _contract although I can probably use that for validation of the types of variables.