don't include sessionID field for regular files/directories
Merge pull request #40 from EasonLiao/session

don't include sessionID field for regular files/directories