question: public static final void delete ( String fileName ) { File file = new File ( fileName ) ; if ( ! file . delete ( ) ) { log . error ( "Failed to delete file {}" , file ) ; } File metadataFile = new File ( fileName + METADATA_SUFFIX ) ; if ( ! metadataFile . delete ( ) ) { log . error ( "Failed to delete file {}" , metadataFile ) ; } File directory = file . getParentFile ( ) ; if ( directory . isDirectory ( ) ) { directory . delete ( ) ; } }
target:  Deletes the file and accompanying expire date.