Added beginnings of file access.