Bulk insert file having many json entries into Elasticsearch

The file need to be properly formatted as a bulk request, it can not just take a file with one object per line.