How do I get file # so when I am done with my taxes I can file instead of being too;d I can't then having to file by mail?

I need an IRS file #. Every year I fill out my taxes and am only then told I can't file. How do I get my file #?