added initial untested version of script to import files from sdcard