I am using python Panel Fileinput widget to upload a file. Upload works and I need to save uploaded data with same filename, but I can'n find way to access uploaded file name.
import panel as pn
pn.extension()
file_input = pn.widgets.FileInput()
file_input
After selecting file the widget displays filename next to it, but filename is not included in objects

file_input.get_param_values()
These are parameters of the sample file 'test.txt'
[('align', 'start'),
('aspect_ratio', None),
('background', None),
('css_classes', None),
('disabled', False),
('height', None),
('height_policy', 'auto'),
('margin', (5, 10)),
('max_height', None),
('max_width', None),
('mime_type', 'text/plain'),
('min_height', None),
('min_width', None),
('name', ''),
('sizing_mode', None),
('value', b''),
('width', None),
('width_policy', 'auto')]
Need: file_input.filename variable for accessing uploaded file name.