Renamed midnight_file_handler to yaml_data_handler, fixed several methods, and added a test yml file