Processor: read file after confirming tasks
simplify code