seems that filename from filechooser may be null (nil)
[booh] / lib /
drwxr-xr-x   ..
drwxr-xr-x - booh