Revise SampleTextFiles.r + Rename Sample Folder

Revise SampleTextFiles.r to properly close connections + Rename sample
folder.