def clear_file_contents(file_path):
    """
    Clear the contents of the specified file.
    
    :param file_path: The path to the file to clear.
    """
    with open(file_path, 'w') as file:
        file.write('')
    logging.info(f"Cleared contents of file: {file_path}")

    Clear the contents of the specified file.
    
    :param file_path: The path to the file to clear.
    
reboot.py