microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java
@DoesServiceRequest
    public FileOutputStream openWriteNew(final long length) throws StorageException, URISyntaxException {
        return this
                .openOutputStreamInternal(length, null /* accessCondition */, null /* options */, null /* opContext */);
    }
@DoesServiceRequest
    public FileOutputStream openWriteNew(final long length) throws StorageException, URISyntaxException {
        return this
                .openOutputStreamInternal(length, null /* accessCondition */, null /* options */, null /* opContext */);
    }
Opens an output stream object to write data to the file. The file does not yet exist and will
be created with the length specified. If the file already exists on the service, it will be overwritten.
<p>
To avoid overwriting and instead throw an error, please use the
{@link #openWriteNew(long, AccessCondition, FileRequestOptions, OperationContext)} overload with the appropriate
{@link AccessCondition}.

@param length
A <code>long</code> which represents the length, in bytes, of the stream to create.

@return A {@link FileOutputStream} object used to write data to the file.

@throws StorageException
If a storage service error occurred.
@throws URISyntaxException