Added delay to file creation to prevent spurious results