Added filetype detection after buffer load

Added filetype detection after buffer load.