select excerpt range by file