listup files at first

change the method of listup