Changed to handle google rejection better, filetype and filtering added in google query