Preliminary addition of mimetype handling for file associations; not yet tested much