Created input/output specialized methods for readin/writing temporary files.