class_docstr: Data from file should have a valid file path
  (are files on hard drive) and a name.
class_docstr_tok: ["Data","from","file","should","have","a","valid","file","path","(","are","files","on","hard","drive",")","and","a","name","."]
code: def __init__(self, file_path, name=("loadable_data",), loader=None):
      self._name = None
      self._file_path = None
      self._dtype = None
      self._loader = None
  
      # assigning using property setters
      self.file_path = file_path
      self.name = name
      self.loader = loader
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  from abc import ABCMeta, abstractmethod
  import nibabel
  import numpy
  import tensorflow
  from six import with_metaclass, string_types
  import niftynet.io.misc_io
  from niftynet.io.image_loader import load_image_obj
  from niftynet.io.misc_io import resolve_file_name, dtype_casting
  from niftynet.utilities.niftynet_global_config import NiftyNetGlobalConfig
label_desc: Use image node_id 1 to create a new DataFromFile object from inherited base classes: Loadable with example: obj = DataFromFile(file_path, name, loader)