changes include input and output file are now public.