Fixing filename errors and YAML parsing error