How To Deal with documents: offline and online