now it is able to save file to google cloud storage. note the is a debug code needed to be deleted on line 83