added checking for file extension    Ticket: GCP-9740    Reviewer: Jai post commit