attempts to read files line by line and pass them through