adds node example showing file ready in a for loop