added Resource to ignore directory