* fixed file rescue for pseudo input
* improved performance of getTasksToBeProcessed