seeing if .txt file can be opened