Select a simple range of lines from a file