Added new stringHadoopFile method and improved lastNonEmptyTextFile