Dynamic file tpyes based on mime