Create decoding.py

Used to decode files to send via the communications