data input processing to get text files