Set filename associated with buffer. Determine the language based on the filename.
See Implementation