Updated FileIO with comments.