added input and output vars

added input and output vars for filenames