use the just defined function

Signed-off-by: Riccardo Iaconelli <riccardo@kde.org>
get a lot of stat

Signed-off-by: Riccardo Iaconelli <riccardo@kde.org>