Added dirstat function to filehelp lib