getDirSize -> getRealSize

isFile behaviour changed