Added loadFilePicker function, takes an api key and an optional callback