You'll need to have Active X enabled in order to read the file though.
All you'll have to do is change the name and/or location of the file called "your_file.txt" below.
I hope this helps!

// This creates a new Active X Object in order to read in a file.
// Refer to the new variable as "file"

file = new ActiveXObject("Scripting.FileSystemObject");

// Sets the variable "f" to equal the new open file contents

f = file.OpenTextFile("c:\\your_file.txt", 1);

// This reads in a single line

line = f.ReadLine();