added verifications
input parameters and verification
Corrected verifications
changed output extension
changed input/output extention
changed input/output extension