created loader to read local yaml