First commit for file handling code.