Add file interface to catch only one type