add file size validation
Merge pull request #1 from gerocha/master

add file size validation