added full filenames
before merge with SensorPiB
finished merge
brought sensor.py in to line with SensorPiB branch