FileNotFoundException protection