def get_class(path):
    """
  Gets the class of a given file (name of the subdirectory it is in)
  """
    absolute_subdirectory = path[:path.rfind('/')]
    return absolute_subdirectory[absolute_subdirectory.rfind('/') + 1:]
