Exclude query string parameters from file names being captured