dynamically get returned file list