start saving mime type and size as metadata