Translate file types