Updated gitignore. Shut down properly if no file found