Changed Input to store []byte instead of an io.Reader