replace -open command line argument with -filter