mod: use project custom file when it exists