Wait for files to actually be created.