*8183* Use instance of FileManager instead of static call (FileManager's mkdir method cannot be called static)
*8183* Cleaned function nesting
*8183* Whitespace cleanup
*8183* Register default locale files in registry