use file object instead of evt