close baseline file after reading it