Refactored file handling out