move to single file upload option, add in some path tests, ready to output - need a few more error handling items for full robustness