removed logger in file upload, logger error meesages by yourself in business logic is better