Bug fixes with not logging colors to a file
Added files unit tests