Fixed file size checking.

If we 'return true' from for loop then we never reach fileSizeLimit
checking part.