fix rm for file