check if makeflow log file exists before adding it to the final output