func (f *FileVar) Open(ctx *Context) (io.ReadCloser, error) {
	if f.Path == "" {
		return nil, ErrNoPath
	}
	if f.IsStdin() {
		return ioutil.NopCloser(ctx.Stdin), nil
	}

	path, err := utils.NormalizePath(f.Path)
	if err != nil {
		return nil, err
	}
	return os.Open(ctx.AbsPath(path))
}
// Open opens the file.
Open opens the file.
// Open opens the file .
func (f *FileVar) Open(ctx *Context) (io.ReadCloser, error) {
	if f.Path == "" {
		return nil, ErrNoPath
	}
	if f.IsStdin() {
		return ioutil.NopCloser(ctx.Stdin), nil
	}
	path, err := utils.NormalizePath(f.Path)
	if err != nil {
		return nil, err
	}
	return os.Open(ctx.AbsPath(path))
}
func ( f * FileVar ) Open ( ctx * Context ) ( io . ReadCloser , error ) { if f . Path == " " { return nil , ErrNoPath } if f . IsStdin ( ) { return ioutil . NopCloser ( ctx . Stdin ) , nil } path , err := utils . NormalizePath ( f . Path ) if err != nil { return nil , err } return os . Open ( ctx . AbsPath ( path ) ) }
Open opens the file.
Open opens the file .