Methods that interact with the files.