add gitignore
change error type when !exists in fs chain