ipUnoccupiedFileName function