add possibility to bind properties directly from a file
accept a callable as second parameter which returns a mode
Merge pull request #111 from mikey179/master

work for 4.0.0