code to get file list
added how to use this command