check if input files exist before processing
add several tasks