put file in the right place