Remove unnecessary file extentions