Distributed computing by file or by range