func NewFileReader(location string) (io.Reader, error) {
	file, err := os.OpenFile(location, os.O_RDWR|os.O_APPEND|os.O_CREATE, os.ModeType)
	if err != nil {
		return nil, err
	}
	return bufio.NewReader(file), nil
}
// open file for read.
// file implements io.Reader and io.Writer interface.
open file for read.
file implements io.Reader and io.Writer interface.
// open file for read . // file implements io . Reader and io . Writer interface .
func NewFileReader(location string) (io.Reader, error) {
	file, err := os.OpenFile(location, os.O_RDWR|os.O_APPEND|os.O_CREATE, os.ModeType)
	if err != nil {
		return nil, err
	}
	return bufio.NewReader(file), nil
}
func NewFileReader ( location string ) ( io . Reader , error ) { file , err := os . OpenFile ( location , os . O_RDWR | os . O_APPEND | os . O_CREATE , os . ModeType ) if err != nil { return nil , err } return bufio . NewReader ( file ) , nil }
open file for read.
open file for read .