@alfredosegundo - #97 - move prepareNameFile implementation to a factory.