organize txt files into directories