print title from file and line