replacing netbeans file