styling documents and cleaning up work for uploaded files