Move file I/O related files to utils.