FileNotFoundException bug fixed