'Return the path elements of a path as an array. E.g. /a/b/c ->
[\'a\', \'b\', \'c\']
:param file_path: the file path to split
:return: a list of the elements of the file path
:rtype: list[unicode]'

@staticmethod
def _split_path(file_path):

    results = []
    while True:
        (head, tail) = os.path.split(file_path)
        if (len(tail) != 0):
            results.append(tail)
        if (file_path == head):
            break
        file_path = head
    results.reverse()
    return results
