Use an io.Reader instead of directly Stdin (prepare mock)
Open test files