yaml file checking + file paths confir refactoring