better file picker callback