Update factorySingleFile.php