Tracking of $_SESSION[files] now working correctly