added input output filenames as params