functionnal file picker