RandomInput for reading a File
Add magic and version to GDIFF format