Fix problem with weird files