add code to file.php