Remove redundant file extension