To place a image you need to provide path for it and you can get the name from the path, for example:
var placedImagePath = File("/d/images/image_no_0001.jpg")
var placedImageName = placedImagePath.name
placeImageFromPath(placedImagePath);
var textLayer = activeDocument.artLayers.add();
textLayer.kind = LayerKind.TEXT;
textLayer.textItem.contents = placedImageName;
function placeImageFromPath(path) {
cTID = function(s) { return app.charIDToTypeID(s); };
sTID = function(s) { return app.stringIDToTypeID(s); };
var desc1 = new ActionDescriptor();
desc1.putPath(cTID('null'), path);
desc1.putEnumerated(cTID('FTcs'), cTID('QCSt'), sTID("QCSAverage"));
var desc2 = new ActionDescriptor();
desc2.putUnitDouble(cTID('Hrzn'), cTID('#Prc'), 0);
desc2.putUnitDouble(cTID('Vrtc'), cTID('#Prc'), 0);
desc1.putObject(cTID('Ofst'), cTID('Ofst'), desc2);
var desc3 = new ActionDescriptor();
var ref1 = new ActionReference();
desc1.putObject(sTID("replaceLayer"), cTID('Plc '), desc3);
executeAction(cTID('Plc '), desc1, DialogModes.NO);
}