added comments.
added file types.