Added support for file browser dialog box that allows selection of file,
not just folders