Tefile module separated. Better commentation and tefileMap.