fixed matching in filecollection
implemented cleanup of old releases