Added exclude extensions functionality to filelist.php