allow data option to be a yml file
Merge pull request #2 from benib/data-as-yml-file

allow data option to be a yml file