Updated Filelist controller code