begin to add recognition from file