Gets path and name of file

        :return: Name of path, name of file (or folder)

def get_path_name(self):
        """Gets path and name of file

        :return: Name of path, name of file (or folder)
        """
        complete_path = os.path.dirname(os.path.abspath(self.path))
        name = self.path.replace(complete_path + PATH_SEPARATOR, "")
        if name.endswith("/"):
            name = name[: -1]

        return complete_path, name