Fixed open files/urls with parameter from commandline