Updated fileManager.php