Save sensor data to .txt and .csv files on external storage devices using the Raspberry Pi and Python.