Add .pl as extension for prolog. This is the standard prolog file extension. No one actually uses .prolog.