assertObjectBelongsToStore( file );
assertFileExistsInStore( file );
if ( !file.existsInStore( ) )
{
throw new FileDoesNotExistException( "File "
+ file.getPath( ).getAbsolutePath( ) + " does not exist." );
}
// check for encryption meta data upfront so that
// we won't download the file if there's an error