Exclude type file from selectInput()?

there is a good example: