Fix the automatic generation of run configurations from files. Currently pressing run file does not work.