public List<XLog> parse(File file) throws Exception {
		if(canParse(file)) {
			InputStream is = new FileInputStream(file);
			return parse(is);
		} else {
			throw new IllegalArgumentException("Parser cannot handle this file!");
		}
	}
public List < XLog > parse ( File file ) throws Exception { if ( canParse ( file ) ) { InputStream is = new FileInputStream ( file ) ; return parse ( is ) ; } else { throw new IllegalArgumentException ( "Parser cannot handle this file!" ) ; } }
Parses the given file, and returns the XLog instances
extracted. The file is first checked against this parser,
to check whether it can be handled. If the parser cannot
handle the given file, or the extraction itself fails,
the parser should raise an <code>IOException</code>.

@param file The file to be parsed.
@return List of XLog instances parsed from the given
file.
@throws Exception Raised in case the parser fails, or the
given file cannot be processed.