Added text file loading capability