convert file name to unique seq