Adding MVP approach to file handling.