Added a fragment method which gets a specific

fragment of a document mask