dealt with case where 'lesson' file has no extension