Extracted some file IO methods into separate static class called FileHelpers