modified assignment7 and added textfiles.