fix filename type (a good start is half the work :-))