Revert System.IO for testing