Program can now open a text file