class_docstr: FileIO class that exposes methods to read / write to / from files.
  
  The constructor takes the following arguments:
  name: [path-like object](https://docs.python.org/3/glossary.html#term-path-like-object)
    giving the pathname of the file to be opened.
  mode: one of `r`, `w`, `a`, `r+`, `w+`, `a+`. Append `b` for bytes mode.
  
  Can be used as an iterator to iterate over lines in the file.
  
  The default buffer size used for the BufferedInputStream used for reading
  the file line by line is 1024 * 512 bytes.
class_docstr_tok: ["FileIO","class","that","exposes","methods","to","read","\/","write","to","\/","from","files",".","The","constructor","takes","the","following","arguments",":","name",":","[","path-like","object","]","(","https",":","\/\/docs.python.org\/3\/glossary.html","#","term-path-like-object",")","giving","the","pathname","of","the","file","to","be","opened",".","mode",":","one","of","`","r","`",",","`","w","`",",","`","a","`",",","`","r+","`",",","`","w+","`",",","`","a+","`",".","Append","`","b","`","for","bytes","mode",".","Can","be","used","as","an","iterator","to","iterate","over","lines","in","the","file",".","The","default","buffer","size","used","for","the","BufferedInputStream","used","for","reading","the","file","line","by","line","is","1024","*","512","bytes","."]
docstr: Returns all lines from the file in a list.
docstr_tok: ["Returns","all","lines","from","the","file","in","a","list","."]
code: def readlines(self):
      """Returns all lines from the file in a list."""
      self._preread_check()
      lines = []
      while True:
          s = self.readline()
          if not s:
              break
          lines.append(s)
      return lines
  
imports: import binascii
  import os
  from posixpath import join
  import uuid
  import six
  from tensorflow.python.framework import errors
  from tensorflow.python.lib.io import _pywrap_file_io
  from tensorflow.python.util import compat
  from tensorflow.python.util import deprecation
  from tensorflow.python.util.tf_export import tf_export
label_desc: Use image node_id 12 for calling the FileIO obj's underlying member method code with example usage: obj.readlines() and returns: lines