changed fileread from arraybuffer to string blob for future splicing
upload changed to blocking style do/while loop, no luck making async upload...