-- from a path, a suffix and the total number of files, a list is created as
-- [path/1.tex, path/2.tex, ..., path/n.tex]
listOfFiles :: String -> String -> Int -> [String]
listOfFiles path str n = zipWith (++) (repeat path) (zipWith ((++).show) [1..n] (repeat str))
listOfFiles :: String -> String -> Int -> [String]
listOfFiles path str n = zipWith (++) (repeat path) (zipWith ((++).show) [1..n] (repeat str))
listOfFiles path str n = zipWith (++) (repeat path) (zipWith ((++).show) [1..n] (repeat str))