Controlling a dc motor with a saved text file, is this possible?

You could also write a short PC program (using Python, perhaps) which could read a text file and send the values to the Arduino. This would allow you to use any text file you happen to have on your PC - including very large files that would not fit on an Arduino.

...R