fixed wrong file ending used