File logging included

Now logs to file if DEBUG_TO_FILE is true. Writes log to
~/allone-log.txt