Photoelectron spectrum from a thin organic layer exposed to intense x rays