add tr() for processing files