region function

Specify a region with a file to analyse