Deleted unnecessary code in files