File IO abstractions to help in implementing custom buffers
Read file from given path
Write lines in iterator to given path.