add: file reader routine