Write a Python program to generate 10,000 numbers between 1 and 6 randomly, and store the generated numbers in a file.
Read the file and find the frequency for each number.
Draw a bar chart for the number frequencies.
Run the program that repeats 10,000, 1,000,000, and 100,000,000 times.