use ajax to get file list