Changed tapeExtension to TAPE_EXTENSION