Rearrange file and add check for file size.

Closes https://github.com/gardr/validator-web/issues/25