Replace the file path with file_get_contents

Yaml v3.0 parser needs the content of the file instead of the file path. 
This fixes an the ErrorException
Merge pull request #31 from andreaswarnaar/patch-1

Replace the file path with file_get_contents

Thanks @andreaswarnaar!