#!/usr/bin/env python

import sys

fname=sys.argv[1]

print "watching "+fname+" for activity"

file = open(fname, 'r')
#file = open('/dev/input/event1', 'r')
#print file.read()

#while 1:
char = file.read(1)          # read by character
#    if not char: break
#    print char,

file.close()

