The X-Files."

According to TVLine, Osment, who recently appeared on HBO's "Silicon Valley," will be featured in an episode centered around FBI assistant director Walter Skinner (played by returning "X-Files" vet Mitch Pileggi). No details about Osment's character have been released by Fox, which confirmed the casting on Tuesday, though we can't help but wonder if there will be any winking references to his "Sixth Sense" protagonist's ability to see dead people.

Despite the mystery surrounding the actor's involvement in the show, "X-Files" creator Chris Carter had previously teased that the Skinner episode will delve into the FBI director's past, and feature a younger version of Pileggi's character.

"Fans will find out who he is, where he comes from, and why he is the way he is," Carter said during an appearance at New York Comic Con earlier this year.

Viewers won't have to wait much longer to find out the truth: "The X-Files" revival will return to Fox sometime in early 2018.

[via: TVLine]