Add support for file as a byte slice stream