Recognition from a selected file