change constructor input type to zip
added getFileNameExtension method