CMD Mode:

Removed file.read() and replaced it with linecache

Last thing to do: Shutdown code!