work with two files