list.php file is working properly