add file size validation

Created file size limiter.