Added missing bracket to else statement inside uploadFile method
Merge pull request #4 from wavejumper/hotfix

small bugfix