func (fio *MockFileIO) IsNotExist(err error) bool {
	return fio.FileNotExist
}
IsNotExist returns a boolean as to weather a file exists
package parserMock
import (
	"bytes"
	"fmt"
	"io"
	"os"
)
type MockFileIO struct {
	StatError    error
	FileNotExist bool
	FileCanOpen  bool
}
func NewMockFileIO() *MockFileIO {
	return &MockFileIO{
		StatError:    nil,
		FileNotExist: false,
		FileCanOpen:  true,
	}
}
func (fio *MockFileIO) Stat(name string) (os.FileInfo, error) {
	return nil, fio.StatError
}