prepare body check function for testing - accept file content via param