Fixed error while iterating the files directory
Added filtering and validation to file uploads
Created view template with the list of files
Enhanced list action to redirect to index in non-ajax requests