put file isn't working