merge views index and views upload_file