diff --git a/Data/Conduit/Filesystem.hs b/Data/Conduit/Filesystem.hs
--- a/Data/Conduit/Filesystem.hs
+++ b/Data/Conduit/Filesystem.hs
@@ -42,17 +42,17 @@
          => Bool -- ^ Follow directory symlinks (only used on POSIX platforms)
          -> FilePath -- ^ Root directory
          -> C.Source m FilePath
-traverse followSymlinks root = C.SourceM
+traverse followSymlinks root = C.PipeM
     (liftIO (listDirectory root) >>= pull)
     (return ())
   where
-    mkSrc ps = C.SourceM (pull ps) (return ())
+    mkSrc ps = C.PipeM (pull ps) (return ())
 
-    pull [] = return C.Closed
+    pull [] = return $ C.Done Nothing ()
     pull (p:ps) = do
         isFile' <- liftIO $ isFile p
         if isFile'
-            then return $ C.Open (mkSrc ps) (return ()) p
+            then return $ C.HaveOutput (mkSrc ps) (return ()) p
             else do
                 follow' <- liftIO $ follow p
                 if follow'
diff --git a/filesystem-conduit.cabal b/filesystem-conduit.cabal
--- a/filesystem-conduit.cabal
+++ b/filesystem-conduit.cabal
@@ -1,5 +1,5 @@
 Name:                filesystem-conduit
-Version:             0.3.0
+Version:             0.4.0
 Synopsis:            Use system-filepath data types with conduits.
 Description:         Provides ability to traverse a folder structure efficiently, as well as convenience wrappers for reading from and writing to files.
 License:             BSD3
@@ -16,12 +16,12 @@
   Exposed-modules:     Data.Conduit.Filesystem
   Build-depends:       base                     >= 4            && < 5
                      , containers
-                     , transformers             >= 0.2.2        && < 0.3
+                     , transformers             >= 0.2.2        && < 0.4
                      , system-fileio            >= 0.3.3        && < 0.4
                      , system-filepath          >= 0.4.3        && < 0.5
                      , bytestring               >= 0.9
                      , text                     >= 0.11
-                     , conduit                  >= 0.3          && < 0.4
+                     , conduit                  >= 0.4          && < 0.5
   ghc-options:     -Wall
 
   if os(windows)
