def METHOD_NAME(self, filePath):
    """Push a new recent file to the list.
    If the file is duplicated in the list, all duplications are removed
    before inserting the new filePath.
    If the list becan bigger than 10 items, oldest paths are removed.
    :param filePath: File path to push
    """
    # Remove old occurencies
    self.__recentFiles[:] = (f for f in self.__recentFiles if f != filePath)
    self.__recentFiles.insert(0, filePath)
    while len(self.__recentFiles) > 10:
        self.__recentFiles.pop()