add pagination for uploaded file and cancel validates of uploaded file content type