Folder detection fix
Merge pull request #8 from peter-volkov/greg_fix_filesize

Folder detection fix