new version of filepicker that works