In particular, it should ignore "dot files" like the emacs recovery history (?) for a source file: stat /Applications/arduino/Arduino-1.6.6.app/Contents/Java/hardware/arduino/avr/cores/arduino/.#Arduino.h: no such file or directory On unix/macos, I'm pretty sure that anything beginning with a "." should not be treated as source code.