ida_kernwin.ask_file(True, "", "") crashes IDA 9.4

In the GUI I wrote ida_kernwin.ask_file(True, "", "") and it crashes IDA Pro 9.4 (Win10). There is also no documentation on ask_file that I can find, the official document ( ida_kernwin — IDAPython references documentation ) say ida_kernwin.ask_file(*args) → char* which is not really helpful.