new functions
regain file completion in r