start of file reader interface