tfile: fixed scrape calculation