Restored multiprocessing.

Signed-off-by: Stefano Traverso <stefano.traverso@polito.it>
1) Removed memory mapping
2) IndexError when reading lines now handled

Signed-off-by: Stefano Traverso <stefano.traverso@polito.it>