added logging example for uploading files