implemented file upload using s3 and paperclip