-- Added datasource capability, for interrupting file reading before it's finished