trim files