add document class for file upload