Began handling file manipulation logic.