Reducing File IO