method name should be more clear, e.g. getFileContentsFromHdfs