external file problem solved