TFileDocument still uses obsolete 16-bit compatibility calls like _lopen() to open files.
An issue with these calls is that they support only single-bye file names and not Unicode.
These calls should be replaced with the modern equivalents like CreateFile()