resolving FileNotFoundException