Adapting literature for film