Ignore IDEA and Mac hidden files.