A Dynamic Network Model For Imbibition And Film Flow