Hard to say, but if you're using CS4 or CS5,
#include won't work and you'll need to switch to $.evalFile(yourPath). It also depends on what's in your text file and what you're trying to do. The text file can only consist of valid JavaScript statements (not just text).
Dan