reading container file mime type
refactoring
caching images for 1 day