make upload file smarter
1. remove useless code
2. add exceptions
Merge branch 'master' of github.com:howtomakeaturn/Outlaw-Example-With-Codeigniter