Attempting to reduce number of open file handles