added file input/output parameters to logextractor