Fixed extract method to return extracted file saved path.
Added license text.