trim filename