Ensuring appropriate files are ignored