src/org/kocakosm/pitaya/io/TextFiles.java
public static BufferedReader newReader(File f, Charset charset)
		throws FileNotFoundException
	{
		InputStream in = new FileInputStream(f);
		return new BufferedReader(new InputStreamReader(in, charset));
	}
public static BufferedReader newReader(File f, Charset charset)
		throws FileNotFoundException
	{
		InputStream in = new FileInputStream(f);
		return new BufferedReader(new InputStreamReader(in, charset));
	}
Returns a new {@code BufferedReader} to read the given {@code File}
using the specified charset.

@param f the file to read from.
@param charset the charset to use.

@return a {@code BufferedReader} to read the given {@code File}.

@throws NullPointerException if one of the arguments is {@code null}.
@throws FileNotFoundException if {@code f} doesn't exist, or if it is
a directory rather than a regular file, or if it can't be opened
for reading.
@throws SecurityException if a security manager exists and denies
read access to {@code f}.