# Load from local disc ### Load from local disc *GroupDocs.Redaction.Redactor* class is a main class in Redaction API, providing functionality to open a document. When document is located on the local disk, you can pass its path to *Redactor *class constructor. The following example demonstrates how to open a document from local disc: {{< tabs "code-example-load-from-local-disc" >}} {{< tab "load_from_local_disc.java" >}} ```java final Redactor redactor = new Redactor("sample.docx"); try { // Here we can use document instance to perform redactions redactor.apply(new DeleteAnnotationRedaction()); redactor.save(); } finally { redactor.close(); } ``` {{< /tab >}} {{< tab "sample.docx" >}} {{< tab-text >}} `sample.docx` is the sample file used in this example. Click [here](https://docs.groupdocs.com/redaction/java/_sample_files/developer-guide/advanced-usage/loading-documents/load-from-local-disc/sample.docx) to download it. {{< /tab-text >}} {{< /tab >}} {{< tab "sample_Redacted.pdf" >}} ```text Binary file (PDF, 1.2 MB) ``` [Download full output](https://docs.groupdocs.com/redaction/java/_output_files/developer-guide/advanced-usage/loading-documents/load-from-local-disc/CodeExampleLoadFromLocalDisc/sample_Redacted.pdf) {{< /tab >}} {{< /tabs >}}