@classmethod
def write_file_contents(cls, target_file: str, file_contents: bytes) ->None:
    """
        Writes the file contents to the target file.

        :param target_file: File that contents will be written to.
        :type target_file: str
        :param file_contents: Contents to be written to the file.
        :type file_contents: bytes
        """
    with open(target_file, 'wb') as target_file_handle:
        target_file_handle.write(file_contents)
