diff --git a/hi.cabal b/hi.cabal
--- a/hi.cabal
+++ b/hi.cabal
@@ -1,5 +1,5 @@
 name:                hi
-version:             0.0.7
+version:             0.0.8
 synopsis:            Generate scaffold for cabal project
 license:             BSD3
 license-file:        LICENSE
diff --git a/src/Hi.hs b/src/Hi.hs
--- a/src/Hi.hs
+++ b/src/Hi.hs
@@ -55,11 +55,13 @@
 --
 -- 2. substitute arguments
 process :: [Option] -> Files -> Files
-process options files = map go $ filter (isTemplate . fst) files
+process options = map go
   where
-    isTemplate path    = ".template" `isSuffixOf` path
-    go (path, content) = (rewritePath options path, substitute' content)
-    substitute' text   = LT.unpack $ substitute (T.pack text) (context options)
+    go (path, content) = if ".template" `isSuffixOf` path
+                           then (rewritePath' path, substitute' content)
+                           else (rewritePath' path, content)
+    rewritePath'     = rewritePath options
+    substitute' text = LT.unpack $ substitute (T.pack text) (context options)
 
 -- | Return 'Context' obtained by given 'Options'
 context :: [Option] -> Context
diff --git a/src/Hi/Version.hs b/src/Hi/Version.hs
--- a/src/Hi/Version.hs
+++ b/src/Hi/Version.hs
@@ -4,4 +4,4 @@
     ) where
 
 version :: String
-version = "0.0.7"
+version = "0.0.8"
