fixed file browser functionality