Specify how to handle text and binary files