Added function readSignalFile that reads siglog.txt (if exists) when plugin is initialized, sends recorded signals to the database and deletes siglog.txt.