Fix a function file path, delete unnecessary sqf file