When you said that, I immediately thought of that Johnny Depp movie... Secret Window. I'm pretty sure that's it. Actually not a bad movie.