make RevisionIdentifier.detectAndRegister return the list of detected revisions
implement a function to detect and register file instances