protect all filepicker calls