Added checks for the entry name length
Directory file sizes are now calculated