The movie was called 'The Lamp' and was produced in 2011. As for what the film was about I decided to take the description from the web site (it said it better than I could LOL):
In what seems to be the final days of their already strained marriage, Stanley and Lisa Walters (Jason London & Meredith Salenger) are presented with a strange gift – an old oil lamp.It is a great family movie that one minute had me in tears and the next laughing & I must say that the dog (Cooper) is just soooo cute :)
Along with the lamp comes a mysterious messenger (Louis Gossett Jr) and a statement that will cause them to search the depths of their hearts to find its truth.
All things are possible if you... Just Believe.
I am now going to have a look at the book and download a copy to my Kindle :)