Do you need to check `file_handler != nullptr`?