read_samples_dir function

Read writing samples from a directory of .txt files