Refactoring
Fixed typo
Error-handling and tests for file registration and reader/writer instantiation
Documentation for the deduplication feature