automatically test ini file extension for files from commandline option @filename