Adjust k
Process results
File locking for k