check file extension for coffee