put file in directory