[tplsadmin] fix the file template discovery