Parse yaml as a string instead of filePath