implemented file list generation