Fixed gitignore, check file size on client side