file path collecting utility