Learon advanced function,andwrite usemap & usesorted file