Bad lookup of files fixed