public byte [] getFileAsByteArray() throws ServiceException {
		Report.debug( "bezzotechcosign", "Entering getFileAsByteArray, passed in parameters:", null );
		DataBinder binder = new DataBinder();
		binder.mergeResultSetRowIntoLocalData( m_binder.getResultSet( "DOC_INFO" ) );
		binder.putLocal( FileStoreProvider.SP_RENDITION_ID, FileStoreProvider.R_PRIMARY );
		byte[] b = null;
		RandomAccessFile _raf = null;
		try {
			String primaryFilePath = m_fsutil.getFilePath( binder );
			_raf = new RandomAccessFile( primaryFilePath, "r" );
			b = new byte[ ( int )_raf.length() ];
			_raf.read( b );
		}
		catch ( FileNotFoundException e ) {
			throwFullError( e );
		}
		catch ( IOException e ) {
			throwFullError( e );
		}
		catch ( DataException e ) {
			throwFullError( e );
		}
		finally {
			try {
				_raf.close();
			}
			catch ( IOException e ) {
				throwFullError( e );
			}
		}
		return b;
	}