Read reads bytes into memory from files.