trim file