Specify mime, notify about fail