Fixed errors due to file extension