code: def test_create_from_path(self):
      self._test_local_file("some/path.ext", expected_ext="ext")
      self._test_local_file("some/path.txt.ext", expected_ext="ext")
      self._test_local_file("so.me/path", expected_ext="")
      self._test_local_file(
          "some/path.ext", expected_ext="txt", custom_ext="txt"
      )
  
imports: import pickle
  import unittest
  from io import BytesIO, StringIO
  import numpy
  from bokeh.plotting import figure
  from PIL import Image
  from neptune.exceptions import NeptuneException, StreamAlreadyUsedException
  from neptune.internal.types.file_types import FileType, InMemoryComposite
  from neptune.internal.utils.images import _get_pil_image_data
  from neptune.types import File
  from tests.e2e.utils import tmp_context
label_desc: Use image node_id 3 for calling the TestFile obj's underlying member method code with example usage: obj.test_create_from_path() without return types