Fixing the FileNotFoundException.