fix upload, read from file
Merge pull request #1 from atzorvas/fix-upload

fix upload, read from file