I see from your post at
PAR::Packer: pp with addfile option: where are the files? that you have a Tk GUI application. If you use the getOpenFile gizmo, then you get a display that looks just like Windows Explorer and user can navigate to where they want.
snip...
my @types =
(["log files", [qw/.txt .log/]],
["All files", '*'],
);
$ml_filepath = $mw->getOpenFile(-filetypes => \@types) or return;