Parse file xml instead, and add inner classes to the files