Getting rid of weird file extension