Updated file extension regex