Refactor file access out of base module into Configuration class