Refactor file picker for mobile