only enable was config if the file is there