Got rid of freopen warnings