add code for reading file from hdfs to list of strings