add filetype detection...
nit! whitespace cleanup