Add correct file extension