The man accused of putting a newborn baby into a dumpster behind a Whitehaven business appeared in court on Thursday morning.