file handles alaredy passed in. no need to open() again