Added FileNotFound exception to make sure the program continues when files or folders are missing