I have many files every day like below, it's 2 diffrence type one of them is "ExtendedStatistic" and another one is "System"

```
-rw-r-----   1 sdpuser  staff       2018 Apr 19 10:00 tbsdp01a_PSC-TrafficHandler_8.1_A_1_System.20150419_0900.stat
-rw-r-----   1 sdpuser  staff       1601 Apr 19 10:00 tbsdp01a_PSC-TrafficHandler_8.1_A_1_ExtendedStatistic.20150419_0900.stat
-rw-r-----   1 sdpuser  staff       1973 Apr 19 10:55 tbsdp01a_PSC-TrafficHandler_8.1_A_1_ExtendedStatistic.20150419_1000.stat
-rw-r-----   1 sdpuser  staff       2018 Apr 19 11:00 tbsdp01a_PSC-TrafficHandler_8.1_A_1_System.20150419_1000.stat
-rw-r-----   1 sdpuser  staff       1353 Apr 19 11:45 tbsdp01a_PSC-TrafficHandler_8.1_A_1_ExtendedStatistic.20150419_1100.stat
-rw-r-----   1 sdpuser  staff       2018 Apr 19 12:00 tbsdp01a_PSC-TrafficHandler_8.1_A_1_System.20150419_1100.stat
-rw-r-----   1 sdpuser  staff        981 Apr 19 12:50 tbsdp01a_PSC-TrafficHandler_8.1_A_1_ExtendedStatistic.20150419_1200.stat
-rw-r-----   1 sdpuser  staff       2018 Apr 19 13:00 tbsdp01a_PSC-TrafficHandler_8.1_A_1_System.20150419_1200.stat
-rw-r-----   1 sdpuser  staff        857 Apr 19 13:50 tbsdp01a_PSC-TrafficHandler_8.1_A_1_ExtendedStatistic.20150419_1300.stat
-rw-r-----   1 sdpuser  staff       2018 Apr 19 14:00 tbsdp01a_PSC-TrafficHandler_8.1_A_1_System.20150419_1300.stat

```

my question is how can I create a script to send those files every day at 12:00 AM by mail to my email.  

Also, the file type is stat how can I change it to xlsx at the same time?