<?php
$filename = 'newfile.json';
$json = file_get_contents($filename);
echo $json;
$result = exec('rm newfile.json');