Implement filename completion helpers for autocomplete