diff --git a/easy-logger.cabal b/easy-logger.cabal
--- a/easy-logger.cabal
+++ b/easy-logger.cabal
@@ -5,7 +5,7 @@
 -- see: https://github.com/sol/hpack
 
 name:           easy-logger
-version:        0.1.0.2
+version:        0.1.0.4
 synopsis:       Logging made easy.
 description:    Please see the README on GitHub at <https://github.com/githubuser/easy-logger#readme>
 category:       Logging
@@ -65,6 +65,7 @@
     , base >=4.7 && <5
     , bytestring
     , containers
+    , directory
     , easy-logger
     , hspec
     , quickcheck-assertions
diff --git a/test/Spec.hs b/test/Spec.hs
--- a/test/Spec.hs
+++ b/test/Spec.hs
@@ -7,6 +7,7 @@
 
 import qualified Data.Text                  as T
 import           EasyLogger
+import           System.Directory
 import           Test.QuickCheck
 
 -- file Spec.hs
@@ -59,11 +60,13 @@
 
 
 main :: IO ()
-main = hspec $ do
-  describe "prop_Logging" $ do
-    it "logs to file and reads content" $ prop_Logging
+main = do
+  createDirectoryIfMissing True "test/files"
+  hspec $ do
+    describe "prop_Logging" $ do
+      it "logs to file and reads content" $ prop_Logging
 
-  describe "initialization" $ do
-    it "throws an exception if not initialized" $
-      prop_NoInit `shouldThrow` anyException
+    describe "initialization" $ do
+      it "throws an exception if not initialized" $
+        prop_NoInit `shouldThrow` anyException
 
