A generic swappable back-end for Mime Type detection