def guess_path_encoding(file_path, default=DEFAULT_ENCODING):
with io.open(file_path, '<STR_LIT:rb>') as fh:<EOL><INDENT>return guess_file_encoding(fh, default=default)<EOL><DEDENT>
Wrapper to open that damn file for you, lazy bastard.