class SingleWriterMultipleReaderFile {

    public FileOutputStream startWrite() throws IOException {
        if (workFile.exists() && !workFile.delete())
            throw new IOException("Cannot delete working file");

        return new FileOutputStream(workFile);
    }

    public  SingleWriterMultipleReaderFile(File file);

}