public static List<Event> fromFile(final File file) throws IOException, ClassNotFoundException
    {
        return fromInputStream(new FileInputStream(file));
    }
public static List < Event > fromFile ( final File file ) throws IOException , ClassNotFoundException { return fromInputStream ( new FileInputStream ( file ) ) ; }
Given a file written by the serialization-writer library, extract all events.
This assumes the file was written using ObjectOutputStream.

@param file file to deserialize
@return events contained in the file
@throws java.io.IOException    generic IOException
@throws ClassNotFoundException if the underlying Event class is not in the classpath