Refactored file upload method
Coding standards