One can put the component on a form, compile and run. And it shows the file in the current directory.
But if you try to set an other valid diretory it says "file not found". If one try to change the directory in create-event of the form, the app crashs.
Just tested - works fine both on windows/macOS. Can you create an example ?