My problem is a part of my actual program,but it is not all of it.it may seem simple to expert users of java.The problem is to access a folder,count number of files in it,determine their sizes and store their names in an array,and it 'll be good to determine also the types of them.I need to know the suitable method and some tips that may help in the program.By the way,the problem is a part of a search based program.If anyone knows the answer,I hope to send me the answer as soon as he could.Thanks a lot .