Remove WooCommerce Styles and Scripts

It seems your second file is not get uploaded due to security reasons so please try compressing it in zip file to share it.

I attached the .php file (functions.php) I inputed the code into. I pulled it from my server. Which was in the wp-includes folder.

It seems you have done it wrong. You should not add custom code in the WordPress core file wp-includes/functions.php but should add it in the functions.php file of child theme of Unite theme by creating it.