Got file extension deletion working