added appropriate extension for files