Loading basis set from file?

Is it possible to load a basis set from an external file rather than pasting it into a $basis section and making the input file rather cumbersome?